package com.copa.module.goods.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.copa.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
 * @author copa
 * @createDate 2021-01-14
 * @function   t_goods_attribute表实体
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_goods_attribute")
@ApiModel(value="GoodsAttribute对象", description="")
public class GoodsAttributeEntity extends BaseEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "商品属性名")
    @TableField("attribute")
    private String attribute;

    @ApiModelProperty(value = "商品属性值")
    @TableField("value")
    private String value;

    @ApiModelProperty(value = "商品id")
    @TableField("goods_id")
    private Long goodsId;

    @ApiModelProperty(value = "是否删除 0否 1是")
    @TableField("is_delete")
    private Integer isDelete;


    public static final String ATTRIBUTE = "attribute";

    public static final String VALUE = "value";

    public static final String GOODS_ID = "goods_id";

    public static final String IS_DELETE = "is_delete";


}
